package com.zxl.designpattern.structure.bridge;

/**
 * @author zxl
 * @version 1.0
 * @description 桥接模式-抽象化角色接口-旅行计划
 * @date 2025/6/1 14:22
 */
public abstract class TravelPlan {

    // 交通工具
    protected Transport transport;

    public TravelPlan(Transport transport) {
        this.transport = transport;
    }

    /**
     * 执行旅行计划
     */
    public abstract void execute();
}